package entity.capec;

import java.util.ArrayList;
import java.util.List;

/**
 * @author xym
 * @date 2020/7/15
 */
public class ExecutionFlow {
    private Integer step;
    private String phaseName;
    private String description;
    private List<String> techniques;

    public ExecutionFlow() {
        this.techniques = new ArrayList<>();
    }

    public Integer getStep() {
        return step;
    }

    public void setStep(Integer step) {
        this.step = step;
    }

    public String getPhaseName() {
        return phaseName;
    }

    public void setPhaseName(String phaseName) {
        this.phaseName = phaseName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<String> getTechniques() {
        return techniques;
    }

    public void addTechniques(String technique) {
        this.techniques.add(technique);
    }

    @Override
    public String toString() {
        return "ExecutionFlow{" +
                "step=" + step +
                ", phaseName='" + phaseName + '\'' +
                ", description='" + description + '\'' +
                ", techniques=" + techniques +
                '}';
    }
}
